package com.five.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.five.admin.dto.OrderQueryDto;
import com.five.admin.vo.OrderListVo;
import com.five.pojo.entity.Order;
import org.apache.ibatis.annotations.Param;


public interface OrderMapper extends BaseMapper<Order> {
    Order selectByIdForUpdate(Long orderId);

    Page<OrderListVo> list(Page page, @Param("queryDto") OrderQueryDto queryDto);
}
